package App.Model.Task;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by xw on 2018/12/17.
 */


@Entity
public class CrmTaskMember {

    @Column(name = "recid")
    @Id
    private String recid;

    @Column(name = "groupid")
    private String groupid;

    @Column(name = "userid")
    private int userid;

    @Column(name = "roleid")
    private int roleid;

    @Column(name = "ismanager")
    private boolean ismanager;

    @Column(name = "ishost")
    private boolean ishost;

    @Column(name = "username")
    private  String username;


    @Column(name = "reccreator")
    private  int  reccreator;

    @Column(name = "recorder")
    private  int  recorder;


    public String getRecid() {
        return recid;
    }

    public void setRecid(String recid) {
        this.recid = recid;
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getRoleid() {
        return roleid;
    }

    public void setRoleid(int roleid) {
        this.roleid = roleid;
    }

    public boolean ismanager() {
        return ismanager;
    }

    public void setIsmanager(boolean ismanager) {
        this.ismanager = ismanager;
    }

    public boolean ishost() {
        return ishost;
    }

    public void setIshost(boolean ishost) {
        this.ishost = ishost;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public int getReccreator() {
        return reccreator;
    }

    public void setReccreator(int reccreator) {
        this.reccreator = reccreator;
    }

    public int getRecorder() {
        return recorder;
    }

    public void setRecorder(int recorder) {
        this.recorder = recorder;
    }

}

